#pragma once

#include "DesktopShow.h"
#include "afxwin.h"

// CDesktopSet dialog

class CDesktopSet : public CDialog
{
	DECLARE_DYNAMIC(CDesktopSet)

public:
	CDesktopSet(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDesktopSet();

// Dialog Data
	enum { IDD = IDD_DESKTOP };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	void setAreaInfo(const vector<areaInfo>&area);
private:
	CDesktopShow m_deskShow;
	vector<areaInfo> m_vAreaInfo;
	CComboBox m_areaCom;
	int m_selArea;
	afx_msg void OnCbnSelchangeAreaindex();
	afx_msg void OnBnClickedAddarea();
	afx_msg void OnBnClickedDelarea();
	afx_msg void OnBnClickedAdddesk();
	afx_msg void OnBnClickedDeldesk();
};
